<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Primer List</title>
</head>
<body>

<table width = "100%" bgcolor="#DBF3FF">
	<tr>
		<td width="70%">
			Gene Primer Sequence
		</td>
	</tr>
</table>
<table width = 100%>
	<tr>
		<td width = 10%><font color="#000099">primer</font></td>
		<td width = 60%><font color="#000099">sequence</font></td>
		<td width = 10%><font color="#000099">plate</font></td>
		<td width = 10%><font color="#000099">well</font></td>
		<td width = 10%><font color="#000099">option</font></td>
	</tr>
	<s:iterator value="primersequences">
	<tr>
		<td><s:property value= "primer"/></td>
		<td><s:property value= "sequence"/></td>
		<td><s:property value= "plate"/></td>
		<td><s:property value= "well"/></td>
		<s:url id="urlId" var="myurl" action="DeletePrimer">
        		<s:param name="id"><s:property value="id"/></s:param>
        </s:url>
		<td><a href="#" onclick="return deletePrimer('<s:property value="%{id}"/>','<s:property value="%{gene.geneName}"/>')">Delete</a></td>
	</tr>
	</s:iterator>
</table>
</body>
</html>